<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>

<p>
<?php 
foreach ($list as $item) :  
	echo $item->text;
endforeach; 
?>
</p>